package com.csc531.DataTypes;

import java.util.ArrayList;

public class Course 
{
	
	private String _name = "";
	private ArrayList<Task> _taskList;
	private ArrayList<Note> _noteList;
	private ArrayList<Friend> _friendList;
	
	public void setName(String name)
	{
		_name = name;
	}
	
	public void addTask(Task task) 
	{

		_taskList.add(task);
	}
	
	public void addNote(Note note) 
	{
		_noteList.add(note);
	}
	
	public void addFriend(Friend friend)
	{
		_friendList.add(friend);
	}
	public String getName() 
	{
		return _name;
	}
	
	public ArrayList<Task> getTasks() 
	{
		return _taskList;
	}
	
	public ArrayList<Note> getNotes() 
	{
		return _noteList;
	}
	
	public ArrayList<Friend> getFriends() 
	{
		return _friendList;
	}
	
	public Course()
	{
		_taskList = new ArrayList<Task>();
		_noteList = new ArrayList<Note>();
		_friendList = new ArrayList<Friend>();
	}
	
	public Course(String name) 
	{
		_name = name;
		_taskList = new ArrayList<Task>();
		_noteList = new ArrayList<Note>();
		_friendList = new ArrayList<Friend>();
		
	}
}
